projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
889bf83
)
x11: Loosen the match for the NVIDIA driver
author
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 13 May 2021 17:22:30 +0000
(18:22 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 13 May 2021 17:22:30 +0000
(18:22 +0100)
It seems nVidia puts a different string in the GL_VENDOR than the one it
uses for GLX.
gdk/x11/gdkglcontext-egl.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkglcontext-egl.c
b/gdk/x11/gdkglcontext-egl.c
index 91f3e8297cc5808dd60f1c5909bbc500c0c604d7..cab476232fb096316ed626f10d5a62d1c05a68a4 100644
(file)
--- a/
gdk/x11/gdkglcontext-egl.c
+++ b/
gdk/x11/gdkglcontext-egl.c
@@
-595,7
+595,7
@@
gdk_x11_screen_init_egl (GdkX11Screen *screen)
* fallback to GLX
*/
const char *vendor = eglQueryString (edpy, EGL_VENDOR);
- if (
g_strcmp0 (vendor, "NVIDIA Corporation") == 0
)
+ if (
strstr (vendor, "NVIDIA") != NULL
)
return FALSE;
display_x11->have_egl = TRUE;